package com.mall.common.validation;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.mall.common.bean.WebErrors;
import com.mall.common.validation.annotation.Validations;

public interface IValidate {
	
	/**
	 * 参数验证
	 * @param request
	 * @param errors
	 * @param validations
	 * @return
	 */
	public WebErrors validate(HttpServletRequest request, WebErrors errors, Validations validations, Map<String, String> decodedUriVariables);
	
}
